﻿GInfoWindow = function() 
{
	/// <summary>
	///	GInfoWindow has no constructor. It is created by the map and accessed by its method GMap2.getInfoWindow().
	/// </summary>	
}

GInfoWindow.prototype = 
{
	selectTab: function(index) 
	{
		/// <summary>
		///	Selects the tab with the given index. This has the same effect as clicking on the corresponding tab.
		/// </summary>
		/// <param name="index" type="Number" integer="true">The index to select</param>
	},
	
	hide: function() 
	{
		/// <summary>
		///	Makes the info window invisible. NOTE: This doesn't close the info window. It can be made visible again using show().
		/// </summary>
	},
	
	show: function() 
	{
		/// <summary>
		///	Makes the info window visible if its currently invisible.
		/// </summary>
	},
	
	isHidden: function() 
	{
		/// <summary>
		///	Returns true if the info window is hidden. This includes the state that it's closed.
		/// </summary>
		/// <returns type="Boolean"></returns>
	},
	
	reset: function(latlong, tabs, size, offset, selectedTab) 
	{
		/// <summary>
		///	Resets the state of the info window. Each argument may be null and then its value will not be changed from the current value.
		/// </summary>
		/// <param name="latlong" type="GLatLng">The Lat/Long to reset</param>
		/// <param name="tabs" type="GInfoWindowTab">The tabs to reset</param>
		/// <param name="size" type="GSize">The size to reset</param>
		/// <param name="offset" type="GSize" optional="true">(optional) The offset to reset</param>
		/// <param name="selectedTab" type="Number" integer="true">The selected index to reset</param>
	},
	
	getPoint: function() 
	{
		/// <summary>
		///	Returns the geographical point at which the info window is anchored. The tip of the window points to this point on the map, modulo the pixel offset.
		/// </summary>
		/// <returns type="GLatLng"></returns>
	},
	
	getPixelOffset: function() 
	{
		/// <summary>
		///	Returns the offset, in pixels, of the tip of the info window from the point on the map at whose geographical coordinates the info window is anchored.
		/// </summary>
		/// <returns type="GSize"></returns>
	},
	
	getSelectedTab: function() 
	{
		/// <summary>
		///	Returns the index, starting at 0, of the current selected tab.
		/// </summary>
		/// <returns type="Number" integer="true"></returns>
	},
	
	getTabs: function() 
	{
		/// <summary>
		///	Returns the array of tabs in this info window. (Since 2.59)
		/// </summary>
		/// <returns type="GInfoWindowTabs[]"></returns>
	},
	
	getContentContainers: function() 
	{
		/// <summary>
		///	Returns the array of DOM nodes that hold the content of the tabs of this info window. (Since 2.59)
		/// </summary>
		/// <returns type="elementDomElement"></returns>
	},
	
	enableMaximize: function() 
	{
		/// <summary>
		///	Enables maximization of the info window. A maximizable info window expands to fill most of the map with contents specified via the maxContent and maxTitle  properties of GInfoWindowOptions. The info window must have been opened with maxContent or maxTitle options in order for enableMaximize() or disableMaximize  to have any effect. An info window opened with maxContent or maxTitle will have maximization enabled by default. (Since 2.93)
		/// </summary>
	},
	
	disableMaximize: function() 
	{
		/// <summary>
		///	Disables maximization of the info window. The infowindow must have been opened with maxContent or maxTitle options. Note that if the info window is currently opened, this function will remove the maximize buton but will not restore the window to its minimized state. (Since 2.93)
		/// </summary>
	},
	
	maximize: function() 
	{
		/// <summary>
		///	Maximizes the infowindow. The infowindow must have been opened with maxContent or maxTitle options, and it must not have had its maximization disabled through disableMaximize. (Since 2.93).
		/// </summary>
	},
	
	restore: function() 
	{
		/// <summary>
		///	Restores the info window to its default (non-maximized) state. The infowindow must have been opened with maxContent or maxTitle options. (Since 2.93).
		/// </summary>
	}
}
